from apps.merchant.tag.baseViews import *
from django.db.models import Q
    
class TagViewSet(BaseTagViewSet):
    authentication_classes = []
    permission_classes = []
    def get_queryset(self):
        params = getRequestParams(self.request)
        _list = TagDao().findAll()
        scene = params.get('scene')
        if scene == 'home':
            _list = _list.filter(Q(id=1) | Q(id=2))
        return _list
